package com.fowo.api.model.marking.success;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 标发成功 导入导出辅助模型 */
@Data
public class MarkingSuccessExcelPo {

  @Size(max = 50, message = "平台单号长度不能超过20")
  @ExcelProperty(value = "平台单号")
  private String platformNumber;

  @Size(max = 50, message = "发货时限长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "发货时限")
  private java.util.Date shippingTimeLimit;

  @Size(max = 50, message = "系统单号长度不能超过20")
  @ExcelProperty(value = "系统单号")
  private String systemTrackingNumber;

  @Size(max = 50, message = "本地状态长度不能超过20")
  @ExcelProperty(value = "本地状态")
  private String localStatus;

  @Size(max = 50, message = "商品长度不能超过20")
  @ExcelProperty(value = "商品")
  private String product;

  @Size(max = 50, message = "平台长度不能超过20")
  @ExcelProperty(value = "平台")
  private String platform;

  @Size(max = 50, message = "物流方式长度不能超过20")
  @ExcelProperty(value = "物流方式")
  private String logisticsMethods;

  @Size(max = 50, message = "承运商长度不能超过20")
  @ExcelProperty(value = "承运商")
  private String carriers;

  @Size(max = 50, message = "配送服务长度不能超过20")
  @ExcelProperty(value = "配送服务")
  private String deliveryServices;

  @Size(max = 50, message = "标发单号长度不能超过20")
  @ExcelProperty(value = "标发单号")
  private String trackingNumber;

  @Size(max = 50, message = "线上状态长度不能超过20")
  @ExcelProperty(value = "线上状态")
  private String onlineStatus;

  @Size(max = 50, message = "标发状态长度不能超过20")
  @ExcelProperty(value = "标发状态")
  private String markingStatus;

  @Size(max = 50, message = "标发次数长度不能超过20")
  @ExcelProperty(value = "标发次数")
  private Integer deliveriesNumber;

  @Size(max = 50, message = "标发时间长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "标发时间")
  private java.util.Date markingTime;
}
